//
//  LikeTableViewCell.m
//  土巴兔
//
//  Created by 千锋 on 15/12/29.
//  Copyright (c) 2015年 IOS1503薛凯. All rights reserved.
//

#import "LikeTableViewCell.h"
#import "Default.h"
@implementation LikeTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self createUI];
        self.userInteractionEnabled=NO;
    }
    return  self;
}
- (void)createUI{
    _backview=[[UIView alloc] initWithFrame:CGRectMake(0, 0, DEVICEWIDTH ,7)];
    _backview.backgroundColor=[UIColor lightGrayColor];
    _backview.alpha=0.6;
    [self.contentView addSubview:_backview];
    _label=[[UILabel alloc] initWithFrame:CGRectMake(10, 5, DEVICEWIDTH, 23)];
    _label.text=@"猜你喜欢";
    _label.textColor=[UIColor blackColor];
    _label.font=[UIFont systemFontOfSize:12];
    [self.contentView addSubview:_label];
}
@end
